/**
 * author      : dormi330
 * date        : 2018/6/26
 * project     : mybatis
 * description : 订单支付信息, 与订单 1-1关系
 */

package org.wzq.learn.domain.order;

import org.wzq.learn.common.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

public class OrderPayInfo extends BaseEntity {
    private String tradeOrderId;    // 交易订单号
    private String payType;         // 支付类型
    private String payOrderNo;      // 支付订单号
    private String payStatus;       // 支付状态
    private Date payTime;           // 支付日期
    private BigDecimal payMoney;    // 支付金额
    private BigDecimal refundMoney; // 退款金额
    private Date refundTime;        // 退款时间
    private String refundStatus;    // 退款状态

    // === setter / getter ===

    public String getTradeOrderId() {
        return tradeOrderId;
    }

    public void setTradeOrderId(String tradeOrderId) {
        this.tradeOrderId = tradeOrderId;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public BigDecimal getRefundMoney() {
        return refundMoney;
    }

    public void setRefundMoney(BigDecimal refundMoney) {
        this.refundMoney = refundMoney;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public String getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(String refundStatus) {
        this.refundStatus = refundStatus;
    }
}
